package com.pig4cloud.mall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author fangyu
 * @date 2020-12-26 19:40:58
 */
@Data
@TableName("pms_product_operate_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
public class ProductOperateLog extends Model<ProductOperateLog> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Long productId;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private BigDecimal priceOld;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private BigDecimal priceNew;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private BigDecimal salePriceOld;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private BigDecimal salePriceNew;
    /**
     * 赠送的积分
     */
    @ApiModelProperty(value="赠送的积分")
    private Integer giftPointOld;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Integer giftPointNew;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Integer usePointLimitOld;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Integer usePointLimitNew;
    /**
     * 操作人
     */
    @ApiModelProperty(value="操作人")
    private String operateMan;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private LocalDateTime createTime;
    }
